package com.hakim.wfb.customer.result.team;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hkfs.fundamental.api.data.DataObjectBase;

import java.util.Date;

/**
 * 团队会员信息视图
 * Created by yuhuanlong on 2017/7/12.
 */
public class TeamMemberInfoView extends DataObjectBase {

    /**
     * 用户ID
     */
    private String userId;
    /**
     * 用户编号
     */
    private String userCode;
    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 组织关系代码
     */
    private String userOrg;

    /**
     * 最近投资
     */
    private Double investingAccount;

    /**
     * 团队人数
     */
    private Integer teamMember;

    /**
     * 团队业绩
     */
    private Double teamAchieve;
    /**
     * 个人业绩
     */
    private Double personalAchieve;

    /**
     * 激活状态
     */
    private Integer activeStatus;

    /**
     * 注册时间
     */
    private Date registerDate;

    /**
     * 激活时间
     */
    private Date activeDate;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserOrg() {
        return userOrg;
    }

    public void setUserOrg(String userOrg) {
        this.userOrg = userOrg;
    }

    public Double getInvestingAccount() {
        return investingAccount;
    }

    public void setInvestingAccount(Double investingAccount) {
        this.investingAccount = investingAccount;
    }

    public Integer getTeamMember() {
        return teamMember;
    }

    public void setTeamMember(Integer teamMember) {
        this.teamMember = teamMember;
    }

    public Double getTeamAchieve() {
        return teamAchieve;
    }

    public void setTeamAchieve(Double teamAchieve) {
        this.teamAchieve = teamAchieve;
    }

    public Double getPersonalAchieve() {
        return personalAchieve;
    }

    public void setPersonalAchieve(Double personalAchieve) {
        this.personalAchieve = personalAchieve;
    }

    public Integer getActiveStatus() {
        return activeStatus;
    }

    public void setActiveStatus(Integer activeStatus) {
        this.activeStatus = activeStatus;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getActiveDate() {
        return activeDate;
    }

    public void setActiveDate(Date activeDate) {
        this.activeDate = activeDate;
    }
}
